package com.gitee.neuray.security.admin.staff.mapper;

import com.gitee.neuray.security.admin.staff.vo.StaffOrg;
import com.gitee.neuray.security.admin.staff.vo.StaffVo;
import com.gitee.neuray.security.common.util.Query;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;


/**
 * 人员信息管理
 *
 * @author fanj
 * @email ${email}
 * @date 2020-03-02 16:29:35
 */
public interface StaffMapper  extends Mapper<StaffVo> {
    List<StaffVo> findBypage(Query query);
    List<StaffVo> findStaffByOrg(StaffOrg staffOrg);

    List<StaffOrg> findOrgByOrg(StaffOrg staffOrg);
    List<StaffVo> findStaffByPhone(StaffVo staffVo);
}
